window: Hide frame buttons when appropriate
authorMatthias Clasen <mclasen@redhat.com>
Sun, 10 Mar 2013 03:28:39 +0000 (22:28 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 17 Mar 2013 16:19:49 +0000 (12:19 -0400)
commit93c345e49f4190800128178348f4680bc40c7fbe
treea19f4a5143a7b444bcb6c8f48d68ae34187292a9
parentd05d08a2f383c681aef0e9d7f02899665c6f9955
window: Hide frame buttons when appropriate

Hide the close button if the window is not deletable, hide the
maximize button if the window is not resizable, and hide all
buttons if the window is a dialog.

Update buttons when the window state changes.
gtk/gtkwindow.c